<script type="text/javascript">
$(pageInit);
function pageInit()
{
	$.extend(xheditor.settings);
	//$('#elm1').xheditor({upLinkUrl:"/xheditor/demos/upload.php",upLinkExt:"zip,rar,txt",upImgUrl:"/xheditor/demos/upload.php",upImgExt:"jpg,jpeg,gif,png",upFlashUrl:"/xheditor/demos/upload.php",upFlashExt:"swf",upMediaUrl:"/xheditor/demos/upload.php",upMediaExt:"wmv,avi,wma,mp3,mid"});
	$('#elm1').xheditor({upLinkUrl:"<?php echo $this->baseUrl?>/admin/file/upload/",upLinkExt:"zip,rar,txt",
		upImgUrl:"<?php echo $this->baseUrl?>/admin/pic/upload/",upImgExt:"jpg,jpeg,gif,png",
		upFlashUrl:"<?php echo $this->baseUrl?>/admin/file/upload/",upFlashExt:"swf",
		upMediaUrl:"<?php echo $this->baseUrl?>/admin/file/upload/",upMediaExt:"wmv,avi,wma,mp3,mid"});

}

</script>
<div style="margin-top: 0; padding: 5px;">
	<textarea id="elm1" name="elm1" rows="12" cols="80" style="width: 80%">
	<?php echo $this->post['post_content']?>
	</textarea>

</div>
